import {myRequest} from "../utils/request.js"
//福和通宝资金记录
export function balanceList(data) {
	return myRequest({
		url: 'balance_log/balanceList',
		method: "POST",
		data:data||{}
	})
}
//钱包规则
export function walletRules(data) {
	return myRequest({
		url: 'agreement/walletRules',
		method: "POST",
		data:data||{}
	})
}
//银行卡列表

export function banklist(data) {
	return myRequest({
		url: 'cash_account/index',
		method: "POST",
		data:data||{}
	})
}
//提现配置
 
export function WithdrawInfo(data) {
	return myRequest({
		url: 'withdraw/getWithdrawInfo',
		method: "POST",
		data:data||{}
	})
}
//添加银行卡
export function addAccount(data) {
	return myRequest({
		url: 'cash_account/addAccount',
		method: "POST",
		data:data||{}
	})
}
//银行卡详情

export function bankdetail(data) {
	return myRequest({
		url: 'cash_account/details',
		method: "POST",
		data:data||{}
	})
}
//福乐明细

export function balanceFulList(data) {
	return myRequest({
		url: 'balance_ful_log/balanceFulList',
		method: "POST",
		data:data||{}
	})
}
//福合通宝提现

export function withdrawDo(data) {
	return myRequest({
		url: 'withdraw/withdrawDo',
		method: "POST",
		data:data||{}
	})
}
//福合通宝资金记录

export function balancelist(data) {
	return myRequest({
		url: 'balance_log/balanceList',
		method: "POST",
		data:data||{}
	})
}
//获取充值设置

export function getInfo(data) {
	return myRequest({
		url: 'recharge/getInfo',
		method: "POST",
		data:data||{}
	})
}
//提交充值

export function addamout(data) {
	return myRequest({
		url: 'recharge/add',
		method: "POST",
		data:data||{}
	})
}
//原石明细

export function roughList(data) {
	return myRequest({
		url: 'rough_log/roughList',
		method: "POST",
		data:data||{}
	})
}

export function withdrawList(data) {
	return myRequest({
		url: 'withdraw/withdrawList',
		method: "POST",
		data:data||{}
	})
}
export function myAccount(data) {
	return myRequest({
		url: 'member_opening_account/myAccount',
		method: "POST",
		data:data||{}
	})
}

export function topup(data) {
	return myRequest({
		url: 'member_opening_account/accountRecharge',
		method: "POST",
		data:data||{}
	})
}

export function accountRechargeConfirm(data) {
	return myRequest({
		url: 'member_opening_account/accountRechargeConfirm',
		method: "POST",
		data:data||{}
	})
}

export function accountWithdraw(data) {
	return myRequest({
		url: 'member_opening_account/accountWithdraw',
		method: "POST",
		data:data||{}
	})
}
// 添加银行卡确认
export function addAccountConfirm(data) {
	return myRequest({
		url: 'cash_account/addAccountConfirm',
		method: "POST",
		data:data||{}
	})
}
export function openingAccount (data){
	return myRequest({
		url:"member_opening_account/openingAccount",
		method: "post",
		data:data||{}
	})
}
export function xinsheng (data){
	return myRequest({
		url:"agreement/xinsheng",
		method: "post",
		data:data||{}
	})
}

export function accountRechargeLog (data){
	return myRequest({
		url:"member_opening_account/accountRechargeLog",
		method: "post",
		data:data||{}
	})
}

export function accountWithdrawLog (data){
	return myRequest({
		url:"member_opening_account/accountWithdrawLog",
		method: "post",
		data:data||{}
	})
}

export function bindCard (data){
	return myRequest({
		url:"agreement/bindCard",
		method: "post",
		data:data||{}
	})
}

export function cashTransfer (data){
	return myRequest({
		url:"agreement/cashTransfer",
		method: "post",
		data:data||{}
	})
}

export function fhTransfer (data){
	return myRequest({
		url:"balance_log/fhTransfer",
		method: "post",
		data:data||{}
	})
}

export function cashWithdraw (data){
	return myRequest({
		url:"agreement/cashWithdraw",
		method: "post",
		data:data||{}
	})
}
export function resaleFul (data){
	return myRequest({
		url:"balance_ful_log/resaleFul",
		method: "post",
		data:data||{}
	})
}


export function unbindingCard (data){
	return myRequest({
		url:"cash_account/unbindingCard",
		method: "post",
		data:data||{}
	})
}
export function getWithdrawBalanceInfo(data){
	return myRequest({
		url:"withdraw/getWithdrawBalanceInfo",
		method: "post",
		data:data||{}
	})
}
export function tbexchange(data){
	return myRequest({
		url:"balance_log/exchange",
		method: "post",
		data:data||{}
	})
}
export function doCancel(data){
	return myRequest({
		url:"withdraw/doCancel",
		method: "post",
		data:data||{}
	})
}
export function integralExchangeHf(data){
	return myRequest({
		url:"withdraw/integralExchangeHf",
		method: "post",
		data:data||{}
	})
}
export function getWithdrawIntegralInfo(data){
	return myRequest({
		url:"withdraw/getWithdrawIntegralInfo",
		method: "post",
		data:data||{}
	})
}
export function ybTransfer(data){
	return myRequest({
		url:"balance_log/ybTransfer",
		method: "post",
		data:data||{}
	})
}
// 钱包账单
export function threeBillLog(data){
	return myRequest({
		url:"member_opening_account/threeBillLog",
		method: "post",
		data:data||{}
	})
}
export function fultransfer(data){
	return myRequest({
		url:"balance_ful_log/transfer",
		method: "post",
		data:data||{}
	})
}

// ----------------------------------------------------------分割线---------------------------------------------------------